﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopMsg")]
    public class TopMsg : BaseObject
    {
        //begin
        public TopMsg()
        {}
        public TopMsg(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private long _Direction;
        public long Direction
        {
            get
            {
                return _Direction;
            }
            set
            {
                SetPropertyValue("Direction", ref _Direction, value);
            }
        }
        private string _Time;
        public string Time
        {
            get
            {
                return _Time;
            }
            set
            {
                SetPropertyValue("Time", ref _Time, value);
            }
        }
        private string _Content;
        public string Content
        {
            get
            {
                return _Content;
            }
            set
            {
                SetPropertyValue("Content", ref _Content, value);
            }
        }
        //end
    }
}
